package com.xinqi.modules.course.course.dto.req;

import com.xinqi.common.base.annotations.ApiQueryParam;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 课程表-查询参数
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@ApiQueryParam
public class CourseQueryDTO implements Serializable {
    /**
     * ID
     */
    private Long id;

    /**
     * userId
     */
    private Long userId;

    /**
     * 班级id
     */
    private Long classId;

    /**
     * 加入者
     */
    private Long joinUserId;

    /**
     * 课程名称
     */
    private String courseName;

    /**
     * NORMAL("NORMAL", "正常"),ARCHIVE("ARCHIVE", "归档"),DISSOLVE("DISSOLVE", "已解散");
     */
    private String status;

    /**
     * 角色集
     * TEACHER-老师;ASSISTANT-助教;REPRESENTATIVE-课代表;STUDENT-学生
     */
    List<String> classRoles;

    /**
     * "NORMAL", "正常","ARCHIVE_SELF", "归档自己","ARCHIVE_ALL, "归档全班";
     */
    private String archive;

    /**
     * 学生是否归档？1-是，0-否
     */
    private Integer isArchive;

    /**
     * 是否老师
     */
    private Integer isTeacher;

}
